clarify beforeEach/afterEach doc language

As written, the clauses in this sentence are hard to parse. These two commas help clarify.