Added test cases

Test case added for clean function