commented test file to show how to use GetNextReg