Added a simple test and travis.ci integration