Flipswitch: Add tests