update test and errorLogger