Added unit test for src/util/log.rb and more debugging info.