Add test for translation

Hi Jakub, 
When I tested issue #23 I created test for testing it. If you want you can add it into your tests. This implementation is without errors.