added test for new relational model