Add equals tag to better handle null

Fixup from PR
Fixes #8
Fix whitespace after value tag

Fixes #10
Additional tests
Javadoc (doclint)