Fixed beforeEachFunc not being executed.
Merge pull request #1 from alex3683/master

Fixed spec: beforeEachFunc was not executed.