Improved code coverage and added travis config