Israel and Egypt have both signed the other treaty banning nuclear tests , but neither nation has ratified it .