Added tests for tag