evalProgram and reset tests