testsuite: Add test cases, some xfailed

Closes #5060
Closes #4446
Closes #5192