Added more tests of edge cases for atomicity of provides.