Add a test of repeated tag update.

For #145.