Added tests for process runnign or not...