update tests for new log function