fixed test db migration