Refactored tests
Merge pull request #7 from ThomasAlxDmy/linux-cancel-blocking-read-issue

Refactored tests