added support for syncronous beforeAll functions