Fixed test. Added migrations.