Some refactorings, test driving ticket creation