cart service tests refactored