Add support for arbitrary tests in LHS.