moving requires for testing into test requires