TST: Suppress RuntimeWarning for L-BFGS-B

Addresses issue with #1507. Need to rebase #1121 now.