basic config functionality finished; fixed tests