Add check on injectProperties for null values passed in the properties struct.  Added test cases as well.
Merge pull request #49 from cjxmccac/master

Null Value check for injectProperties