Added JUnit tests for add and sort functions
Added JUnit test case for clear function
Completed test cases using JUnit