Introduces 'functional' tests and travis CI config.