extend unit test for resection