JUnit test cases failing: Unsatisfied dependency expressed through field 'identityService'

Hi,
I am trying to upgrade Flowable from version 6.4.2 to version 6.5.0. I have modified the flowable version in the pom file and am trying to build the codebase before deployment. But the Junit test cases are failing with the below exception.

java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘processingServiceSecurityConfig’: Unsatisfied dependency expressed through field ‘identityService’; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘identityServiceBean’ defined in class path resource [org/flowable/spring/boot/ProcessEngineServicesAutoConfiguration.class]: Unsatisfied dependency expressed through method ‘identityServiceBean’ parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘processEngine’ defined in class path resource [org/flowable/spring/boot/ProcessEngineServicesAutoConfiguration$AlreadyInitializedAppEngineConfiguration.class]: Unsatisfied dependency expressed through method ‘processEngine’ parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘org.flowable.spring.boot.app.AppEngineServicesAutoConfiguration’: Unsatisfied dependency expressed through method ‘setEngineConfigurers’ parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘eventAppEngineConfigurationConfigurer’ defined in class path resource [org/flowable/spring/boot/eventregistry/EventRegistryAutoConfiguration$EventRegistryAppEngineConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.flowable.spring.boot.EngineConfigurationConfigurer]: Illegal arguments to factory method ‘eventAppEngineConfigurationConfigurer’; args: ; nested exception is java.lang.IllegalArgumentException: wrong number of arguments

Need help in resolving this issue. Thanks in advance!