test: Add a new test that removal of a maildir flag also changes tags