Add test program

Signed-off-by: Mingwei Shi <mingwei.shi@intel.com>