Added test cases in test_add_tag with pep8 coding convention.