Use parameterized test case for bool flag parsing.

This allows us to more easily create exotic test cases for parsing
bool flags.

One step closer to finishing surtrstudios/weyland#3