Anything that adds nodes in a hierarchy will add fcrepo:hasParent triples.  Maybe we should use a different query?  Or just make the test check for countQueryTripes(sparqlQuery) > 0 ?