Rename btree_lock to tree_lock
Move mmap out of lock test