[COMMONS-114]: Updated test class assertions due to Groovy removal