Fix tests
Fix travis
fix for django v1.7: delete & access incorrect key