unit tests for the whole locking stuff in Jobby\Helper