add beforeEach in the promotion-calculate-tests