Implemented the convert method of config parser and added both parse and convert tests