bug fix for ignoring undefined,null and empty values in datasets.
#18 updated test cases for appModel.