TST: fix py errors in tests

Also remove remnants of some other frechet (?), remove duplicates from the test loop.