Changed modifiedAt to modified, added migrate_data, more tests