tests and factories. Create_or_update won't update records