fixing unit test for D_

The issue is that if it finds the translation in multiple domains, it
returns randomly (we are not sorting hash.keys for obvious reasons).

In Ruby 1.8 hash is not sorted AFAIK.