SEC-2350: Fix broken test