fixed keys() test for Py3.3