test(runner): refactored local test runner to support dart2js