it looks like ``lock_file_name`` should be used, instead of hard-coding 'test.lock'