(#1287) - added test for multiple attachements