PIM-3237: Add spec for orm