do the same thing in the tests