lb: fix usage of lb_main in test