(#7911) Fixed failing spec because of invocation of function increase