Tests: fix missed error in last commit

(cannot amend, already pushed for review)