added middleware name, removed logs from tests