add a unit test for the intersection mapper class