Add test case covering default case of switch statement.