added test on two conditions using only one SerialTimer object