Fix error message for unknown switches (#146)
Add test for #146
Added changelog entry for last bugfix.