Correcting timing-sensitive unit test

Questionable how this test could ever have been as reliable as it was.  It's made a bit more robust now.
Merge pull request #224 from leapmotion/bug-sensitivetest

Correct timing-sensitive unit test