Testing the chemical tagging technique with open clusters