changed reset to return bool result instead of throw exception, fixed test error