test cases done for cut functionality.