Added test for caritem, fixed buggies