add test about primitive