Fixing exit condition in processor test.