Create beforeTestMethodPraspel to be more modular.