add tests for translation