add cpo-save, improve loading autoload functions in a test