started flatmap tests