More tests re permissions with delete
Check version for create/update/delete
Getting a form definition for a given document ID
Refactor: move objects out of test class