updated sequence number in AD and unit tests