Remove some debug code from the tests