[backend/log] Move the log tests into the log package.