add state tester