Oops broke the test project.
Add switch op (??) and fix OS X nunit.