null configuration validation on constructor + test

null configuration validation on constructor + test