fixing a typo on a named function.

The tests output also shows that the wrong function name was used. cheers :)