Fixed Mockito test so iterates list correctly.