Adding test case for a getter property