Add travis and Makefile for unittest.