updated basic test to print sent commands