The court shall tax the costs in an action to contest or set aside a will. No costs shall be taxed against a losing party who has been joined in the action but who does not appear.