Fix type error
Change log level for tests