Adding spec test for refresh_pools migrate case