tests: Convert a test for crash on invalid input to Autotest framework.