added bag name attribute and tests to intellectual objects