338 exception when attempting to fake an internal method

Fixes #338.