Update to read a config file
New tests