testImplementation method is not working as expected after upgrade to 7.1

i have upgraded gradle version from 6.4.1 to 7.1,

in 6.4 gradle file i had this

testCompile (
springBootStarterTest,
hsqldb
)

and with upgrade to 7.1 i changed it to

testImplementation (
springBootStarterTest,
hsqldb
)

facing below exception

ocpm.cne.config.services.TopicInfoServiceTest > getAllConfigItemsWithTopicNameAndLabelsNULLTest FAILED
java.lang.NoClassDefFoundError at LogbackLoggingSystem.java:352
Caused by: java.lang.ClassNotFoundException at BuiltinClassLoader.java

Caused by: java.lang.ClassNotFoundException: org.springframework.test.context.junit4.SpringRunner