Add some test cases for flag completion.
Complete both flags and arguments when appropriate.