Tests for calling a function we have put into a variable