Add unit test for Hero class.