passed all lib/locks tests