Correction of first class functions qunit

Deleted the beforeEach and afterEach copy paste code from List