Fix property function pointer replication issue
Add test cases for member function pointer