It would be nice if the core test logs didn't modify the app logs. Perhaps use sys_get_temp_dir() instead?