Oops, had some mistakes when adding beforeEach to all examples.

@eschoppik I made some mistakes in adding beforeEach to all examples. Doh.