Property define with static-constant-access support

- added support for it

- added some test for it