test.py: workaround for echoing sent command