send/recv error checking
Kludge - 'MPI_' is a constant arg
fix locals() -> d in send/recv generation
generate tests for send/recv