Added generic getter test