New tests around documents