test(macAutocomplete): Added test for mac-autocomplete-source = 'invokedFunction()'.

Closes #142