Massachusetts Appeals Court further defines three-prong test outlined in the Cavanagh v. Cavanagh case.