Add tests for boundarymarkers