Fix tag creation test