finish up testing on agent except for a few edge panic cases