add relational unit tests