Remove bad parameter for cfg.get

when loading from cfg file, cfg.get takes just 2 parameters not
three.

Added some basic tests and test for the specific change as well

Change-Id: I633d665f63271b6ada9196a0f08028d404b33110