Added test to check if tag is registered