tag_parser.py:: added a test to check of if returns as expected