flip arguments to bindOptional
test cases for seqOptional