Add tests for check/get free thread stack.
Merge pull request #106 from unknownbrackets/scheduling

Add tests for check/get free thread stack