mark tests skipped due to a bailed suite as pending
moved the emit test logic to before the emit pending to improve reporting