Add delay after creating and mounting volume on Mac.

This also reverts commit 64737cfd8cdf00bf001b5dc1d19e21a94cfacfb5
which added the delay to the tests. Adding it directly into the
library shields libraries that use this module.