tests: Convert image2pipe tests to non-legacy test scripts