added test for virtuals in get/set