Fix failing test. Loops in tests are a bad idea and this one does not make any sense at all because it loops over a single item.