change Resolvers declaration to prevent memory leak in tests