writing config lib tests