add tests for logmessages improvements
improve log messaging (don't repeat same message twice in a row)