Add testtask and test on Travis.