Add two new method create_tag and update_tag_lookup

These method are used inside other methods. This simplifies
how the calling methods look
add test method for the baseui class