[log] Remake tests.