Adding PrimitiveType tests. Adding tests for buffers.