Fix order-dependent test

* Can't rely on insertion order for entries, go by path