A simple document testing infrastructure