app/cmdline_test: fix build without app/test