call shutdown in output tests