Testing for pair-density-wave order in La$_{1.875}$Ba$_{0.125}$CuO$_4$