Use 1.9 hash syntax for some tests

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>