Fix tests after device token length check.