add missing files, unify get_top_lock/get_bottom_lock into test ops