Multi-language tests + various fixes and improvements