The clienttasks methods ending with an underscore character do not assert the SSHCommandResult.
Changing from register_(...) to register(...) will implicitly assert a successful SSHCommandResult and then you can delete the next Assert line.