update tests to use require