primitives tests