add tests for requires