Fixed failing tests in spring-aspects

(cherry picked from commit 1127aa5)
Fixed failing tests in spring-aspects

Issue: SPR-8696