Adds API tests for log