Fixed up the serialtest program with comments