Criated test to reset method