Add test for attach_volume