fixing up random bugs and specs
refactoring .travis.yml to use build matrix