A simple switch test.