Use to eql in tests
Remove flatten
to_ary and to_a
Flat map