Fix beforeEach in solution