Fix main module path required in tests