src_clean
add boundaries checking in parent-child ranges
fix up some tests

The new containment checks caused other tests to fail in
places other than their intended test purpose. This commit
fixes them to trigger their actual failing checks.