Minor fix for invalid error key in specification tests