Remember created TestThread-container and dispose them after test run.
Added a test that ensures that TestThread is initialized and disposed only once.
Types of changes
[x] Bug fix (non-breaking change which fixes an issue).
[ ] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
[ ] Performance improvement
[ ] Refactoring (so no functional change)
[ ] Other (docs, build config, etc)
Checklist:
[x] I've added tests for my code. (most of the time mandatory)
[x] I have added an entry to the changelog. (mandatory)
[ ] My change requires a change to the documentation.
Fixes #123
Remember created TestThread-container and dispose them after test run. Added a test that ensures that TestThread is initialized and disposed only once.
Types of changes
Checklist: