update tests for addLog