Add active_document test
Add a validation test