Create test environment and setup Travis CI

It closes #5 and closes #6.