Add tests for locals.lang and locals.lang_dir