Fixes undefined variable in `migrate:test`.