state for timetest, vartest and eventtest