Fixing Sandbox creation problem
implementing unittest for fix of issue #5130
Merge pull request #5130 from alexanderrichards/sandboxfixing

Fixing Sandbox creation problem