needed an enclosing deftest for the tests to run properly