created memory test for adding properties to the template instance in an event