Add tests for translate backend