added few more tests around conditional and optional.