Add simple tests and travis CI hook.