Test for jsonlog.WriteLog

Signed-off-by: Alexandr Morozov <lk4d4@docker.com>