wrote test for tag