updates unit tests and uses configuration.json file from command line
updates test with more assertions
correct loading of configuration