Don't use -L in tests when it's not necessary
refactor -L local_lib in tests into run_L utility function