fix type checking in tests
Merge pull request #127 from ianstormtaylor/test-fix

fix type checking in tests