Added unit test for documentExists
Added unit test for documentExists

This tests that the parent/child relationship is working properly.

krystalcode/bloodhound,bermanjosh/bloodhound,Soostone/bloodhound,bitemyapp/bloodhound