Added a test that tests return from within switch case.