Working version of test runner that properly isolates classes