Fixed a bug in storage tests that would cause a removeChildObject test to fail incorrectly under certain circumstances