Change method for 'dependency injection' in test.
Add test for the LEAP log handler