Add integration test for require_tree directive