Py3 related fix - no more has_key method for dict type
Tests: Fixed tests for Django=1.4