Making create_tag_line unit testable.

Tests not passing.
Tag handling unit tests are passing.