Add tests for feature of removal of custom properties