add translation and improve test