added test for required properties to agent