flatten "working" although unsatisfying
name
tests updated