fixed successful execution detection testing bug