jasmine testing bowling algorithms and such