Changed signature of function from char to &char

- &pointers are the future, since they accept all other pointers.
  With that in mindall pointers have been changed to reflect that.
  Fixed tests and util methods accordingly.