fix tests that break when installed easyconfigs pkg is present

missed these when handling #1059, these tests only fail when an installed easyconfigs package is present in `$PYTHONPATH`, which is not the case on Jenkins