Modify unit tests to run on-device as well as on the dev machine.

Change-Id: Icdab36a8e4fe97deb112df7ae59e97317f7e991b
12 files changed