test virtual getters aswell