test(compiler): split up beforeEachModule calls into sub-descibes