Add some tests for pathmap API

Not yet complete