change test to compare state pid