Testing crank position sensor