Round trip flag enum test