Tests to config module

To #89.