implement multi table translation; improve test