add tests for value flag mode is in default/value mode