add unit tests for ProcessInfo class