add tests and fix some issues
add go version (currently not working)
travis ci support