test for Flatten
pass TestFlatten
separate command declarations