[tickets][8376] add stand-alone test program and its output