adding test for bool only flags
adding code to support bool only flags being parsed correctly