Fixed OpenCL error handling at running test.