fixing test cases

also changing instances of lb to li