Just this change is not necessary, it'll run validations twice, you can use r.save in the assert call.