Added new unit tests for AddHandler, and developed the handle item add function to pass them.