[oldlogstashjson] fix broken test logic in 25dc988