2010 mazda 6 sport - Mazda 6 2.2 diesel fitting sechand injectors? - redtopmad

Have a mazda 6 2.2 R2AA diesel car with 3 bad injectors, i can source very good tested second hand injectors but if i fit them will my car run ok on them or will they need reprogrammed by Mazda to get car going? new injectors with dealer is £550 plus vat each so don't want to waste money getting second hand injectors if they need to be or can't be reprogrammed? any help would be great thanks