Testing sensors