doing some tests twice to use buffered data