examples reporting - Refactored code and fixed a bug for ignored/pending tests