Fix require tests.