sdl: added optional tests

Adds optional tests to SDL.

Closes #34353
Technically, the ``` --prefix=#{libexec} ``` argument gets willfully ignored anyway, so it could read anything. ``` libexec/tests ``` is just where I'd planned to install everything before it turned out executing ``` make install ``` led to nothing happening.