Fix TypeError: can only concatenate list (not "dict_keys") to list on Py3

This fixes 7 errors and 22 failures during `pymc.test()` on win-amd64-py33.