Simply assert that a TypeError is raised
Merge pull request #1591 from mattrobenolt/better-test

Simply assert that a TypeError is raised