fix(Jasmine): Execute AfterEach methods

This change fixes the problem that functions defined using afterEach in unit tests were not run.