Add test that mapping over the api results works for deep referencing