Added tests for many to one relationship fetching