Updated tests.py in Django app template.