-- Renamed getAttribute to getExtendedAttribute, as this is really what this function does -- Added a few more genotype tests