Update TestProgram(Edited for more user adaptability)