Make log/slow.Stop() buffered so it returns immediately. Add test/test.go with RootDir so percona-agent can use files in test/.