Fix "Test create attachment without callback".

Ensure that we aren't relying on an explicit sequence number.