fixed typos in methods names.

It had 'beforEach' and 'beforAll' instead of 'beforeEach' and 'beforeAll'