FSM test sometimes fails, make it more tolerant

Often the test failed since it only took 495 ms and not 500 ms
Merge pull request #160 from HCanber/fsm-failures

FSM test sometimes fails, make it more tolerant
Sometimes a test failed since it only took 495 ms and not 500 ms.