Specification testing and quasi-maximum- likelihood estimation