Add support for running tests in the Dart2js mode