Setup temporary project with Makefile.
Recreate temporary project for each test run.
Run each ert test in unwind-protect block.
Run script inside django environment.