Add some unit tests of the flip_g1, flip_g2 options.
(#13)