- Fixed issue where tests would fail when running under certain environments.