test program that uses SDL