NASA test-fires rocket motor for deep space