sdl: added optional tests

Adds optional tests to SDL.

Closes #34353
sdl: update 1.2.15 bottle.