SpaceX is set to test a new spacecraft designed to return cargo and space-manufactured materials from orbit back to Earth.