Test hash parsing