Measuring gravitational effects on antimatter in space