Check that callback exists before calling.
Regression test for 'undefined is not a function' with missing callback on mocks
Merge pull request #31 from humphd/master

Don't call callback if not provided when using mock instances