Added support for specifying a tester affinity (either a specific agent or a string to be hashed)