Added "listEqualsInRange" method to util to fix tests