Add missing tests for fixed issues

Closes #8761.
Closes #16010.
Closes #13033.
Closes #15094.
auto merge of #16568 : jakub-/rust/needstest, r=pcwalton

Closes #8761.
Closes #16010.
Closes #13033.
Closes #15094.