Apply require in test run