Updated test to include attachment