Add a test for extra flags.