Testing broken U(1) symmetry in a two-component atomic Bose-Einstein condensate