Added unit tests for process simulator