add test program

add a test program, for testing that if the libsdl2 build environment is
ok.