What are your tests trying to verify? Bear in mind that Net::OpenSSH and rsync have their own test suites, so you don't need to retest functionality that they are responsible for.
Comment on Re: How do I allow my test script to get rsync to archive file ownership?
I'm testing that my objects which contain wrappers to Net::OpenSSH (which wraps rsync) are properly syncing files to and from a server. So for example, I can rsync easily and safely with something like this:
# set up my server
my $server = Server->new('host_name');
$server->set_remote_dir('/my/files');
$server->rsync_dir;