Blade Runner - Philip K. Dick, Scott Brick

Judging fitness to be considered human based on range of emotional responses and empathy, among other factors (including intelligence and ability). Bio-chemical control of emotions and urges within proscribed settings. Etc.