fixed backend test and simplified comand printing to and made it use stdout instead of stderr