update properties test and fix bugs in Properties class bug #8332