Fixed TranslatableComponents missing the end of the translated text
Added some unit tests