Error creating beans when running spring boot tests

Hi Community Members
I’m getting an error below when i run my unit tests using spring boot test but my main spring application runs fine.

Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
23:00:55.030 [main] ERROR o.s.boot.SpringApplication - Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘org.camunda.bpm.engine.spring.SpringProcessEngineServicesConfiguration’: Unsatisfied dependency expressed through field ‘processEngine’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘processEngineFactoryBean’: FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Task already scheduled or cancelled
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(

Please advice on this