tests: Convert random distribution tests to Autotest framework.