use 1.8 hash format in test
Merge pull request #563 from s01ipsist/restore_ruby_187

use 1.8 hash format in test