Make test_validate into separate command-line script (i18n)

LMS-1963