Added add_to_attribute for character. Also tested added more testing to logicblocks