fixed some gpu tests (different rounding results due to float arithmetics)
Merge pull request #931 from jet47:gpu-test-fixes