Add basic tests for translation.