Add support for running tests in the packages in the repo

BUG=
R=sigmund@google.com

Review URL: https://chromiumcodereview.appspot.com//585543002