Testing sensor