Create and update tags with tests