Added Test case for tag_sorter etc