Test of the proximity theorem for deformed nuclei