Add support for running tests in Travis-CI.

This commit configures our continuous build to also run the tests for us
on an emulator.