setter and getter test of amortization time