added more tests for option and sequence
updated helper