ignore undefined values in diff
add tests for undefined/null props