Add spec test for custom properties