Attempts to fix #604 by checking whether the stubbed/spied function is a...

... native method