Test program for snogray