fixed python 3 tests. refs #6