Add more benchmark tests to path/posix

Benchmark testing `is_ancestor_of` and `pop`