beforeEach -> before, afterEach -> after

Hopefully by avoiding intense DOM tree manipulation on each test it will solve the timeout issues.

fix #80