test program for (de)queuing buffers

thanks to Nicolas Dufresne, who writes:
> I didn't put any copyright or anything, please consider this work as public domain.
build test_dqbuf