app/test: remove writes in NULL buffer from cmdline tests