added test for setProprties