Rename before, after, beforeAll, afterAll; Throws error out to the caller when catch error during reporter invocation.