Adjust install path for UTs and check config first