Added new test for testing addition of attachment and renamed variables for better understanding.