Updated ticket so that goal is a first class member. Tests for ticket.