Subject to the rights of the surviving husband or wife as declared by law, the homestead, if consisting of real property, may be devised like other real property of the testator, or if a mobile home may be bequeathed like other personal property of the testator.
SDCL 43-31-27