Add tests for the new pub.dartlang.org API.