enable training test. refactor globbing