Refactoring the specs and adding empty basket method