Restrict testing to python2.7 upwards

Python2.6 and below is not supported at the moment, because it does not
have the collections.MutableMapping type.

There may be further issues.