Adds tests for mapping model relationships