Added an equals method and improved unit tests.