If onFailure is called inside a testCallback the test is considered failed already