Added test case for removal of method