better handling of whitespace and comments
renamed test script for typechecking
added grammar for test specs
implemented simple unit testing a la doctest