Remove and ignore output directories in tests