Add test case for issue 10290

And set correct permissions for the shell script