Property define with static-constant-access support

- added support for it

- added some tests for it