test: print return code