I didn't seem to be able to make the "require" work anyway.

Yes the mock would be useful.