add global testing
fix load_files arguments
update main()
update load_files()
fix typo