The wife of the bankrupt must attend and submit to an examination, the same as any other witness, under section 26. If she does not attend, on being summoned, her attendance may be compelled by a warrant to the marshal, under which she may be brought before the register and .-detained .until her examination is concluded. If, when she comes or is brought before the register, she refuses to answer, she may, under section 7, be punished for contempt