Update test program to use gem