Switch should throw an exception when any non-whitespace string is before the first branch. Also, test that empty switches are disallowed.