Started to implement test cfg loading function