Adding pass function to log successful tests.