test common behavior factori model implement common behavior factori 