https://issues.apache.org/jira/browse/AMQ-4952 - remove scala ref from test