Implement pending tests in DAL Spec

Pending tests for testing CRUD in Named Entities and Annotations tables have
been implemented. Added two more pending tests for retrieving Documents and
Named Entities directly from the Annotations table: should create by itself the
Document or Named Entity instance based using its foreign key.