Added travis file and tests