Modified Test case for tag_sorter by following pep8 coding convention