LogEvent(string, map) and requested unit test

@dkorolev PTAL
Why not ```i += 2``` without all the rage down there?
And an ```if``` or ```assert``` that size is even.