custom loger, some tests