Fix test runner problem with migrations