Add testing infrastructure, including Travis CI config