Nap to avoid checksum race condition.

The checksum returned by Swift was different than we were
expecting, so I tried retrieving it after tests had failed.
The checksum at that point matched. Putting a three second
sleep into the code seems to have resolved this problem.
Fix compiler error for volume tests.
Merge pull request #14 from TimSimpsonR/race

Race