sdl: added optional tests

Adds optional tests to SDL.

Closes #34353

Closes #34559.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>