add unit test for access log