add test c files

Signed-off-by: Ximing Chen <ximingc@nvidia.com>