Add testing

~~Please don't merge this right now. I'd like to see whether Travis runs on this branch.~~