Add tests for mntr, cons and dump (and fix them for Py3)