Add translate dependency in tests