Testing the djangorestframework