Complicated if statement
Bool to rescue
Iterate to decide
Better syntax without for
Ugly JUnit assertions
Better assertions