It is a word incorporated into Spanish from English with the same meaning of "test, exam". However the origin is Old French, where teste was the name of a clay vessel used by goldsmiths to test the quality of gold and other precious metals, which comes from the Latin testum, i ("pot or pot of baked clay").