Fixes to issues identified by Coverity.

This is also pointless as the initialization of this object relies on the setUp() method below...