added 'q' messages to the tests
show the commands sent
implemented c and g commands