added tests for including all fields and excluding fields
add test for deep referencing