Add test and travis build file