Adding explicit dependency on spring-core to resolve test dependency issue