warning fixes in test program