test all document valid