fix tests with minicluster