Add test to check for debug logging disabled at compile time