Adding tests to equals() implementation.  Adding JavaDoc details.