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

Fixed in SI-5508 / cca4d51db.

Review by @gourlaysama