Add spec for updating version.
add table name for order/line_item association
fixes #5531
refactor code to follow DRY in zone model
fixes #5532