add test-case to address undefined properties
make base fix function check for undefined values

also make the derived fix functions call super.
Merge pull request #5 from slang800/handle-null-values

handle null values