spec for fancy path matching
fix test suite