Added script to run travis tests and coverage.

Code coverage wasn't being reported correctly. This pull request tries to fix that.