Switched tests to new NewLogger function