Refactor - edit button on cart view if item editable
Adding tests