Added registration of solution with mesh in ScratchPadTests::testResidualMemoryError().