variable names changes and login for total_actual_completions
efficient way to load leaf modules

 and added required settings to tests