fix test program for base < 4.7