Added xSCOPE functionality to app_test_qei, breaks timing tho.!(