This changes makes the tests pass under both Dartium and dart2js, but (@gaurave) I don't know if this is semantically a change you want -