Added a test listener to validate the internals after a successful test