adding toArray method to Config class
adding some more tests for new methods in Manager class