added istanbul for code coverage and added tests to increase coverage
added .travis for CI