fix getContainingComponent (and some tests)

stuff I missed when changing domrange