fix unit test failing about misconfigurations