Add options parameter to mock method
Added test and documentation.
Merge pull request #7 from jjh42/pr/5

passthrough option