Added tests
Added travis configuration
Added build status image to readme