Invoke before each on retry

This pull request fixes issue #2 - beforeEach is not called for test retries.

I'm not sure if there's a better way to achieve this.  If you have any suggestions please let me know.