add test for sdl allocation, and warn when using stub malloc/free