Added unit testing for sort task, add task, search task