Switch 'hide' patterm, Mk II. Added 'tests'.