GRECLIPSE-1780 Fix for failed tests with traits