Setter and getter tests of debt