Working on coverage.
Fixed runtests to support coverage with travis.