fixed gpu sanity tests
Merge pull request #591 from jet47:gpu-sanity-tests