Added function for saving test cfg