Added row version
Added tests for GetNextTicket and UpdateTimestamp