Adding tests for closed issues

Closes #5806
Closes #8259
Closes #8578
Closes #8851
Closes #10412