Well, it says in the first code comments that each motor should run for 2 seconds. However, you use a 10000 delay, wich makes each motor run for 10 seconds.
Since the delay freezes the program, nothing should happen during this 10 seconds in excepton of the first motor run.
Did you take this into consideration in your tests?