Make test device come from the environnement.