Fix attachment test.