Added tests, travis and coveralls support