Test for adding and removing properties