Fixing tests and making sure the run with manage.py test