Since the code was doing more then trivial hello world I was expecting that the nolock option had a purpose in the test.
IIRC mongod didn't used to support this until recently, have you checked what happens if you pass this option to a earlier version of mongod?
I don't think its a good idea to improve the eval interface with more features :]