Fix tag tests in test