make the tests work with enabled debug toolbar