Use atomic ops in host test
Merge pull request #719 from radcapricorn/host_test_atomic_ops

DRuntime: Use atomic ops in host test