Added tests and functionality to force set_translations to work on
unsaved entries - useful for things like tests that don't hit the
database.