[WIP] Integrating migrator with tests.