Fix python test/Rcore example