test programs for gd