un-xfail test for #8498 and replace prints w/ asserts
auto merge of #11975 : jfager/rust/r8498, r=alexcrichton

Closes #8498