the common law agency test