Refactored sessions#destroy method and updated tests