Added a test program for the spread interface