fixed key-manager tests
changed migrationStatus to migration_status for pgsql