fix testFlat issue when go suitable opencl driver is available
improve testing
more testing