add specs for user#update_affiliation_on_registration and checkout_controller