Add bi-directional python executor tests