Issue #551 fixed three more unit tests which used 'magic numbers' in thread.sleep
Issue #563 extended fix
Issue #580 fixed
Merge pull request #583 from Bohdan-Tereta/test

Issue #551, #563, #580 fix