Merge pull request #731 from chrisglass/refactor-tests

Refactored tests, wrote tests, added CI config file.
Renamed travis config file.
Changed pacakge dependencies for travis

Forced slowaes version.
Merging master to add-more-test to fix travis

This will make travis tests work on this branch as well.