Design and testing of a Silicon Photonic Tensor Core with integrated lasers