compilation fix for test program