fix ORM tests