Changed expected and actual to use JSON.stringify
Added handling of isNaN and undefined
Merge pull request #7 from christianalfoni/master

enhancements in the logged output