Refactored Test Generator and Runner

This gives programmatic support to run tests or fixtures ala cart refs #12