testsuite: Add various test cases

Some are xfailed, some not, some existing ones get un-xfailed.
auto merge of #5478 : catamorphism/rust/testcases, r=catamorphism

rs=more-test-cases-are-always-good Some are xfailed, some not, some existing ones get un-xfailed.