add cart test and small refactoring null object and items storage