Now add attributes to elements by passing an array of whatever attributes you want to use. Updated tester to reflect changes