First attempt at unit testing. Victim of choice: _hread()