Undefine LOCALE_PATHS and define BASE_DIR to lower the heuristic result for checking if the test runner is okay
Use lru_cache decorator