improved start and stop
updated tests
Merge pull request #7 from Runnable/improved-start-n-stop

more accurate start and stop