adds better tests, and travis