fixed test which used reflection for old signature of resetInternalState