Add tests for Primitive types assignment