Assert that results from `Thread::join` are OK.

This gets rid of a warning when compiling the tests.
0.1.2