Use __DIR__ to mock module directory in test