Fix bug in ComplexKPMGpuS and update test.