update tests for document with shoulda matchers
refactor factories. add tests for editables, betaInvites.