tests: Wrote test for config.

Signed-off-by: Joe MacMahon <joe.macmahon@cern.ch>