added simple tests and support for travis