unit tests and found bugs in configs