fix send syntax in unit test agents