Added process id to state messages
Update unit tests