NFL to test electronic system to measure 1st downs