Make bottom bcs test more general.