This test was asserting that an e.p. move is included in the list of generated moves. Actually, the position does NOT allow an e.p. move for black.
https://peterellisjones.com/posts/generating-legal-chess-moves-efficiently/