Add Primitive and createTangentSpaceDebugPrimitive tests.