Changed param name for the schemamigration command. Tests improvements