add test for null config on constructor.
Merge pull request #1 from CuriosoElBicho/master

null configuration validation on constructor + test