add PrimitiveTest
fix PrimitiveTest