Test expression hash.