overhauled tests, added TestCase class, made a few skeleton auto tests