fix debug frame test