Add automated tests with travis integration