tests: Convert very long strings tests to Autotest framework.