Added tests for many to one batch fetching