New test interface

Shouldn't this constructor be private? IIRC one should always go through `ScalaJSTask.fromInfo`.