Timer is introduced to finish InputTest automatically.