Tests are not run after migration to Gradle 7.3.2

Hello All! I have a project that builds perfectly with Gradle 6.9.1 - code is assembled and tests are run. However, after upgrading Gradle up to 7.3.2 - code is still assembled but no tests are run. This is single module project and with no fancy stuff. Maybe someone faced with the same issue and solved it somehow?

Run like ./gradlew clean assemble test

And doesn’t work with very simple project:

plugins {
	id 'org.springframework.boot' version '2.5.7'
	id 'io.spring.dependency-management' version '1.0.11.RELEASE'
	id 'java'

group = 'com.demo'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'

configurations {
	compileOnly {
		extendsFrom annotationProcessor

repositories {

dependencies {
	implementation 'org.springframework.boot:spring-boot-starter-web'
	compileOnly 'org.projectlombok:lombok'
	annotationProcessor 'org.projectlombok:lombok'
	testImplementation 'org.springframework.boot:spring-boot-starter-test'

test {