flatMap operator test