[#71587328] Fixing logic error with changing the domain for testing environments.
Merge pull request #4 from zackurben/71587328_debug-fix

[#71587328] Fixing logic error with changing the domain for testing envi...