TESTS: Add tests for residuals for WRITEVERIFY10/12/16