adopted unit test to changed deleteBoundary