Gray had reinvented the variable resistance telephone, but Bell was the first to write down the idea and the first to test it in a telephone