fixed tests for tags