Add test to ensure that before_first_fork can take the worker object

This was functionality I've monkey patched into my copy of 1.x, was about to add to to master and noticed that my test passed out the gate and the feature was already there :-)

Decided that, hey!, can't hurt to have a test!

Thanks! :heart: