Add test for System.dumps.