Refactored Gallery spec to set a response instance variable and added ticket creation and deletion