add additional method to test file

to make sure we don't regress by providing a red herring for completion
fix bug with Apply type completion

dotta found this, where we're still using prefix matching for function
applies, where we really shouldn't since we already know the function
name.
Returning a value instead of producing side effects in completions