Added an export_dir to event_based/case_5 for easy of debugging
Fixed qatest_2 and made sure there is an export ordering