"3. To testify as a witness in his own behalf; but if a defendant offers himself as a witness, he may be cross-examined as any other witness. His neglect or refusal to be a witness shall not in any manner prejudice or be used against him."