unittest for config-file defined functions