Add python 3.2+ support for 405 error Allow header test

In python 3.2+ unittest.TestCase.assertItemsEqual method was replaced by
assertCountEqual method.
See http://bugs.python.org/issue17866.