Fixes test migrations.
Sets mongoid as backend,
Defines runtime dependencies versions.