feat(launcher): add beforeTest and afterTest