use preprocessor flag to change the cmd_echo signature in test mode