Text this: Optical emulation of quantum state tomography and bell test—A novel undergraduate experiment