I added the truncated hash bug fix in the Ruby version. The Travis building will now work.
I added a simple Ruby test file. It only tests for the truncated hash bug.
Fixed output code in runtests.sh