Added BASE_DIR to the test settings so tests can run correctly