fix middleware tests

* Needed to implement an equality operator on Assets::Path