fixed two failures in shdict.t.