Fixed expected -> expected_size misnaming in validate.cc.