created unit tests for tags