rename DbMigration to DatabaseMigration
added tests for DatabaseMigration