Add unit test to check pix conversion routines
Fix bugs in PIX conversion
Update name in example program
Forgot to get rid of a printf