SI-5665 Test case for fixed private[this], trait crasher

Fixed in SI-5508 / cca4d51db.
Merge pull request #4120 from retronym/ticket/5665

SI-5665 Test case for fixed private[this], trait crasher