fix failing test

A test started to fail after a74f9eca62d4908bfd86938c4afd11b1a8a64eee. This PR fixes it.