fix failing test. For some reason, length does not work in our special case.