Fixed getContextForSpy for spies without scope. Fixes #30.