refactored test reset into @After class