Various changes

- Fixed manager factory to not return new instances.
- Enabled custom documents to be loaded from
  `Tests\Functional\App\Document`