Removed duplicated CHAP frame testing funtion.