Adopt fixed dump behaviour in ShellDocTest.