Adding tests for CopyFromArray