tostring toggle key test