Mixed signal electro optical io testing for integrated photonics