Fixed this issue.
The repository-testutils was using an old version 5.1.0 instead of 5.6.3, updating this resolved the issue.
Is there a variable for repository-testutils in the enterprise pom that can be used to set the value dynamically, currently i am using the variable hippo.enterprise-repository.version for this.