WIP: First working test of PerkTutor python metrics. Tests pass as appropriate, but need significant cleaning up.