Fixed attach test.