using jasmine.spyOn
onPercentageTestPassed can take a config param