Added test file for switches.