Added more unit like test that verifies that has_child is never cached even if wrapped by another filter.