- testing switch implemented
Merge pull request #32 from hadfl/optimise_test

- testing switch implemented