General test cleanup; added tests for and fixed .owns method; added tests for isAncestor

In retrospect, probably should have split this out into more branches. Sorry!