Use a fallback test directory if not defined in the environment.