Add failing test for Pointer#write_array_of_type

This method fails with an ArgumentException deeper in the stack.