testsuite: Add test cases, some xfailed

Closes #5060
Closes #4446
Closes #5192
auto merge of #7441 : catamorphism/rust/testcases_2013-06-27, r=catamorphism