Adding run state tests