Israel's defence ministry says it has successfully tested an advanced ballistic missile defence system, intercepting a target above the atmosphere.