adding cart factory tests