INT-3483 Fix Test Case for < 4.1

JIRA: https://jira.spring.io/browse/INT-3483