jasmine-looping-an-it-calling-function-that-does-expect