test reset time is set correctly