fixed LogSourcesTest
fixed compiler error in release mode (missing include)