Fix SEGV in test for jubatus-util (fixes issue #583)

related to: https://github.com/jubatus/jubatus/issues/583