Fixes #6 - Exception when model is null; nuget and sample to test