Fix unit test coverage issues for wrappertask

Copy and paste fail.

Change-Id: Ib3e5144d81fda7598e41e92f425b489d2cfc9a46