added migration tests