log analysis solution & more tests