Update functional tests to use the PSR NullLogger

This avoids using the deprecated NullLogger in tests.