fix type checking in tests

was doing something else, but these tests were failing for me after a fresh install... dunno if that's incorrect.