Fix tag tests