[Config] added reference dumper test
[Config] remove EOL spaces from dumped config