Add log tests