White space clean up.
Added check for null values in the injectProperties function. Added tests for null injects.