Added logging for tests.
Refactored name of test.