scoped_lock test