Modifying migrate mode in test env