Tests!
switch statements are proving difficult
make switch statements throw an exception for now so that I can push this to gh-pages