Fixed step definitions and added a hook to delete created departments