Adjust API tests to the new version django-tastypie