#4 Instance type check for the configuration

Added validator that checks key in the config dict is a concrete type
Added tests