Test Sample programs