Added condition for test environment to export server instance from module