minor updates to LBPMain and LBPTest