added tests and functionality to format tag user entries