str: Convert tests to use Autotest.