fix how path is read
KeyError mock config now throw
unit test is now good