Increased test coverage
Added has child and has parent queries