Fixed issue with private get/set invocation and added related tests