Test version of rst.c to printout internal variables