Added code to test the processes