Add tests for a few resolved issues

Closes #5718.
Closes #11869.
Closes #13167.
Closes #13405.
Closes #13434.
Closes #13497.
Closes #13703.
Closes #14366.
Closes #14853.
Closes #14919.
Closes #15673.
Closes #15924.